package org.jeecg.modules.htxincailiao.order.service.impl;

import org.jeecg.modules.htxincailiao.order.entity.HTOrderShop;
import org.jeecg.modules.htxincailiao.order.mapper.HTOrderShopMapper;
import org.jeecg.modules.htxincailiao.order.service.IHTOrderShopService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: ht_order_shop
 * @Author: jeecg-boot
 * @Date:   2021-06-18
 * @Version: V1.0
 */
@Service
public class HTOrderShopServiceImpl extends ServiceImpl<HTOrderShopMapper, HTOrderShop> implements IHTOrderShopService {
    public List<HTOrderShop> findAllByOrderId(String orderId) {
        return baseMapper.findAllByOrderId(orderId);
    }

    @Override
    public HTOrderShop queryByShopId(String shopId) {
        return baseMapper.queryByShopId(shopId);
    }

    @Override
    public HTOrderShop queryByOrderId(String orderId) {
        return baseMapper.queryByOrderId(orderId);
    }
}
